package com.wanxi.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@ApiModel(value = "新闻查询条件封装")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NewsQuery {
    @ApiModelProperty("起始时间")
    private Date startTime;

    @ApiModelProperty("截止时间")
    private Date endTime;

    @ApiModelProperty("新闻编号")
    private Long id;

    @ApiModelProperty("状态")
    private Integer state;


}
